package com.zhiyin.seal.config;

import com.zhiyin.seal.payment.IWXPayDomain;
import com.zhiyin.seal.payment.WXPayConfig;

import static com.zhiyin.seal.payment.WXPayConstants.DOMAIN_API;

public class MyWXPayDomain implements IWXPayDomain {
    @Override
    public void report(String domain, long elapsedTimeMillis, Exception ex) {
        //TODO
    }

    @Override
    public DomainInfo getDomain(WXPayConfig config) {
        return new DomainInfo(DOMAIN_API,true);
    }
}
